Retry ConnectError/ConnectTimeout happened in stream.start_tls#669
Merged
lovelydinosaur merged 1 commit intoencode:masterfrom Apr 18, 2023
Merged
Retry ConnectError/ConnectTimeout happened in stream.start_tls#669lovelydinosaur merged 1 commit intoencode:masterfrom
lovelydinosaur merged 1 commit intoencode:masterfrom
Conversation
Contributor
Author
|
Hi @tomchristie, Sorry for bothering you, could you please review this PR? Thanks! |
lovelydinosaur
approved these changes
Apr 17, 2023
Contributor
lovelydinosaur
left a comment
There was a problem hiding this comment.
Moving the start_tls inside the exception handling block looks correct to me, yup. Thanks.
Contributor
Author
|
@tomchristie Thanks! |
Contributor
Author
|
@tomchristie Thanks for merging it. Could you please release it as 0.17.x? |
Contributor
Author
@tomchristie Sorry for bothering you again. Could you please release these changes? |
Contributor
|
@Pliner - Sure let's make that happen. |
Contributor
Author
|
@tomchristie Sure, thanks. Let me look on a previous one(#661), then I will create a new one. |
Merged
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
I am experiencing a small rare issue which has the following trace:
I have retries enabled on AsyncTransport, but
ConnectErrordidn't attempt to retry at all if it was raised instream.start_tlsmethod.It looks like that it is safe to retry such an error as well.